atadriveinfo.htmlHTMLudog,GπùΔ¢πùΔ¢ÅÅŒ Monkeybread Realbasic plugin - Documentation - ATADriveInfo

MBS Plugin Documentation

This is the documentation for the Realbasic Plugins from Monkeybreadsoftware.de. You find these plugins and the newest version of this document at http://www.monkeybreadsoftware.de/realbasic inside the plugins section.

This help was last updated on Freitag, 6. September 2002 and covers 2136 items: 126 classes, 2 controls and 583 global functions.

The list of the themes Global methods by category Global methods by name The list of the classes The list of the controls

class ATADriveInfo

class, ATA Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: does nothing. Windows: does nothing.
Function: Gives access to hardware details of a drive.
Notes:
There are some more things about a drive to know but nothing interesting in my option. Also a function to read a sector of the disk would be possible. Ask if you need something special.
Thanks to Pedro Camargo for the idea and testing.

CapacityinSectors as Integer

property, ATA Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: returns allways 0. Windows: returns allways 0.
Function: Returns the number of the sectors on the drive.

Configuration as Integer

property, ATA Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: returns allways 0. Windows: returns allways 0.
Function: Returns the Configuration bits of the drive.

Cylinders as Integer

property, ATA Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: returns allways 0. Windows: returns allways 0.
Function: Returns the number of cylinders of the drive.

DeviceType as String

property, ATA Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: returns allways "". Windows: returns allways "".
Function: Returns the Type string of the drive.
Notes:
Possible values:
1.ATA
2.ATAPI
3.PCMCIA
4.?
ATA is more for disk drives and ATAPI more for CD drives.

DriveSerial as String

property, ATA Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: returns allways "". Windows: returns allways "".
Function: Returns a string with the drives serial number.

FirmwareVersion as String

property, ATA Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: returns allways "". Windows: returns allways "".
Function: Returns the Firmware Version of the drive.

Heads as Integer

property, ATA Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: returns allways 0. Windows: returns allways 0.
Function: Returns the number of Heads of the drive.

Modelname as String

property, ATA Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: returns allways "". Windows: returns allways "".
Function: Returns the Model name of the drive.

SectorsinTrack as Integer

property, ATA Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: returns allways 0. Windows: returns allways 0.
Function: Returns the number of Sectors in a Track of the drive.

SectorSize as Integer

property, ATA Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: returns allways 0. Windows: returns allways 0.
Function: Returns the size of a sector of the drive.

SocketType as String

property, ATA Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: returns allways "". Windows: returns allways "".
Function: Returns the Type string of the socket where the drive connects.
Notes:
Possible values:
1.Internal
2.Media Bay
3.PCMCIA
4.?

TrackSize as Integer

property, ATA Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: returns allways 0. Windows: returns allways 0.
Function: Returns the size of a Track of the drive.

Contact

Written 2002 by Christian Schmitz. Feel free to ask or report mistakes to realbasic@macsw.de.
Thanks.

This resource fork intentionally left blank ˇˇ